home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / sysklogd.prerm < prev    next >
Text File  |  2008-08-29  |  299b  |  20 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/sysklogd ]
  6. then
  7.     rm -f /usr/doc/sysklogd
  8. fi
  9.  
  10. if [ "$1" = "purge"  -o "$1" = "remove" ]
  11. then
  12.     if [ -x /usr/sbin/invoke-rc.d ]
  13.     then
  14.     invoke-rc.d sysklogd stop
  15.     else
  16.     sh /etc/init.d/sysklogd stop
  17.     fi
  18. fi
  19.  
  20.